﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace EcoSystem
{
    /// <summary>
    /// 数据源配置接口
    /// </summary>
    public interface IReportCategoryConfigAppService : ICrudAppService<
        ReportCategoryConfigDto,
        Guid,
        GetReportCategoryConfigInput,
        CreateOrUpdateReportCategoryConfigDto,
        CreateOrUpdateReportCategoryConfigDto>
    {
        /// <summary>
        /// 获取所有数据源
        /// </summary>
        /// <returns></returns>
        Task<ListResultDto<ReportCategoryConfigDto>> GetAllAsync(GetReportCategoryConfigInput input);

        /// <summary>
        /// 获取指定分类类别的下拉树
        /// </summary>
        /// <param name="input">请求参数</param>
        /// <returns></returns>
        Task<List<ReportCategoryConfigTreeDto>> GetTreeAsync(GetReportCategoryTreeInput input);


    }
}
